/*
 * Copyright (c) 2021
 * User:mallplus多商户商城
 * File:OmsBillingRecordsMapper.java
 * Date:2021/01/12 19:29:12
 */

package com.qyine.rlmall.oms.mapper;


import com.qyine.rlmall.oms.entity.OmsBillingRecords;
import com.qyine.rlmall.oms.vo.StoreBilling;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
* @author mallplus
* @date 2020-11-11
*/
public interface OmsBillingRecordsMapper extends BaseMapper<OmsBillingRecords> {

    /**
     * 查询店铺账单信息
     *
     * @param params 查询参数
     * @return 返回店铺账单
     */

    List<StoreBilling> queryStoreBillings(Map<String, Object> params);

    /**
     * 设置店铺账单状态为已结算
     *
     * @param ids 账单记录id
     * @return 成功>0 失败0
     */
    int updateStatus(List<Long> ids);
}
